/*
 * ReclamosSource.java
 *
 * Created on 8 de marzo de 2007, 03:11 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.src.computec.radar.reclamos.source;

import java.util.ResourceBundle;

/**
 *
 * @author aocampo
 */
public class ReclamosSource {
    
    protected static ReclamosSource reclamosSource;
    private static ResourceBundle reclamosSetup;
    private static ResourceBundle reclamosMessagesSetup;
    
    /**
     * Creates a new instance of ReclamosSource 
     */
    protected ReclamosSource() {
        reclamosSetup = ResourceBundle.getBundle("ReclamosSetup");
        reclamosMessagesSetup = ResourceBundle.getBundle("ReclamosMessagesSetup");
    }
    
    public static ReclamosSource getInstance() {
        if (reclamosSource == null) {
            reclamosSource = new ReclamosSource();
        }
        return reclamosSource;
    }
    
    public String getReclamosSetupKey(String key) {
        return reclamosSetup.getString(key);
    }
    
    public String getReclamosMessagesSetupKey(String key) {
        return reclamosMessagesSetup.getString(key);
    }
}